package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.SaleCartBean;
import com.project.bean.SaleDetailBean;
import com.project.bean.SaleOrderBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ISaleDetailMapper extends BaseMapper<SaleDetailBean> {

    void addDetailList(@Param("orderId") Integer orderId,@Param("list")  List<SaleCartBean> list);
    SaleOrderBean findById(Integer id);
}
